<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <style type="text/css">
            /* 2D旋转 */
            /* .d1{
                width: 200px;
                height: 300px;
                background-color: skyblue;
                margin: 200px auto;
                transform: rotate(45deg);
            } */
            
            /* 2D移动 */
            /* .d1{
                width: 100px;
                height: 100px;
                background-color: sandybrown;
                transform: translate(200px,200px);
            } */

            /* 3D旋转 */
            /* .d1{
                width: 200px;
                height: 300px;
                background-color: skyblue;
                margin: 200px auto;
                transform: rotateY(45deg);
            }
            body{
                perspective: 1000px;
            } */

            /* 3D移动 */
            /* .d1{
                 width: 200px;
                height: 300px;
                background-color: skyblue;
                margin: 200px auto;
                transform: translateZ(-200px);
            }
            body{
                perspective: 1000px;
            }  */
        </style>
    </head>
    <body>
        <div class="d1"></div>
    </body>
</html>